body {
    width: 100%;
    height: 100%;

    background: gray;
    display: flex;
    justify-content: center;
}

#marquee {
    border: 2px solid;
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    position: fixed;
}

#marquee:before, #marquee:after {
    content: "";
    width: 220px;
    height: 220px;
    border: 2px solid black;
    position: absolute;
    top: -7%;
    left: -7%;
    animation: bganim 10s linear infinite ;
    /*animation-direction: alternate;*/
}
#marquee:before{
    animation-delay: -5s;
}

#marquee>div{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-image: url("../../D000_Index/img/banhua1.png");
    background-position:center;
    background-origin: content-box;
    background-size: contain;
    animation:  bganim2 10s linear infinite  alternate;

}
@keyframes bganim {

    0% {
        border-color: aqua;
        clip: rect(0, 224px, 2px, 0);
    }
    25% {
        border-color: aqua;
        clip: rect(0,2px,224px,0px);
    }
    50% {
        border-color: aqua;
        clip: rect(222px,224px,224px,0);
    }
    75% {
        border-color: aqua;
        clip: rect(0,224px,224px,222px);
    }
    100% {
        border-color: aqua;
        clip: rect(0, 224px, 2px, 0);
    }
}
@keyframes bganim2 {

    0% {
        background-image: url("../../D000_Index/img/banhua2.png");
    }
    20% {
        background-image: url("../../D000_Index/img/banhua3.png");
    }
    40% {
        background-image: url("../../D000_Index/img/banhua4.png");
    }
    60% {
        background-image: url("../../D000_Index/img/banhua5.png");
    }
    80% {
        background-image: url("../../D000_Index/img/banhua6.png");
    }
    100% {
        background-image: url("../../D000_Index/img/banhua1.png");
    }
}